/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package dao;

import hibernate.entityes.City;
import hibernate.entityes.Distance;
import hibernate.entityes.DistancePK;
import java.util.LinkedList;
import java.util.List;

/**
 *
 * @author eleven
 */
public interface DistanceDAO extends DAO<Distance> {

    Distance getDistance(DistancePK dpk);

    Distance getDistanceByFromCityToCity(String fromCity, String toCity);

    List<Distance> getAllDistances();
}
